<?php
$conn = mysqli_connect("192.168.43.176","root","123456","xgh",3306);
mysqli_query($conn,"SET NAMES utf8");
$res = mysqli_query($conn,"select * from ted");
$row=mysqli_fetch_assoc($res);

printf ("名称：%s URL(%s)\n",$row["name"],$row["url"]);

mysqli_free_result($res);

mysqli_close($conn);


include "common.php";
